package cn.edu.scau.cmi.chensixiao.composite.safe;

public class SafeLeaf extends SafeComponent{
	@Override
	public String showMessage() {
		return "I'm a safety person "+this.name;
		
	}
	public  SafeLeaf(String name) {
		this.name = name;
	}

}
